package com.macro.mall.dao;

import com.macro.mall.model.PmsSkuStock;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Administrator
 * @date 2020/4/21
 * @since
 */
@Component
public interface PmsSkuStockDao {
	/**
	 * 批量插入操作
	 */
	int insertList(@Param("list")
		List<PmsSkuStock> skuStockList);

	/**
	 * 批量插入或替换操作
	 */
	int replaceList(@Param("list")List<PmsSkuStock> skuStockList);
}
